package com.unitd.base.module.master.mybatis.mapper;

import com.unitd.base.frame.plugin.mybatis.mapper.IBaseDao;
import com.unitd.base.module.master.pojo.po.AdvertisingPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 广告信息表信息数据库操作接口类
 *
 * @author hudan
 * @version 1.0
 * @filename AdvertisingMapper.java
 * @copyright www.symdata.cn
 * @date 2020-08-06
 */
@Repository
public interface AdvertisingMapper extends IBaseDao<AdvertisingPO> {

    /**
     * 根据广告位ID获取该位置对应的广告详情
     *
     * @param positionId 广告位ID
     * @return 广告位信息
     */
    List<AdvertisingPO> selectByPositionId(@Param("positionId") Long positionId);
}